//
//  CollectionViewCell.m
//  LoveListen
//
//  Created by 王喆 on 15/7/3.
//  Copyright (c) 2015年 王喆. All rights reserved.
//

#import "CollectionViewCell.h"
#import "UIImageView+WebCache.h"

@implementation CollectionViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)showDataWithModel:(ListenModel *)model indexPath:(NSIndexPath *)indexPath{
    self.titleLabel.text = model.title;
    self.playTimesLabel.text = [NSString stringWithFormat:@"%@",model.plays_counts];
    [self.imageView sd_setImageWithURL:[NSURL URLWithString:model.coverLarge] placeholderImage:[UIImage imageNamed:@"medium_head_male_default"]];
    
    
}

@end
